package com.dgt.trade.utils;

import com.alibaba.fastjson.JSON;

import java.util.Map;

public class JsonRoMap {

	public static Map<String, String> JsonToMap(String str) {
		return (Map<String, String>) JSON.parse(str);
	}

	public static String MapToJson(Map<String, String> map) {
		return JSON.toJSONString(map);
	}
}
